<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-instrumentname" class="control-label col-xs-12 col-sm-2">{:__('Instrumentname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-instrumentname" class="form-control" name="row[instrumentname]" type="text" value="{$row.instrumentname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-instrumenttype" class="control-label col-xs-12 col-sm-2">{:__('Instrumenttype')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-instrumenttype" data-rule="required" class="form-control" name="row[instrumenttype]" type="text" value="{$row.instrumenttype}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-instrumentsno" class="control-label col-xs-12 col-sm-2">{:__('Instrumentsno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-instrumentsno" data-rule="required" class="form-control" name="row[instrumentsno]" type="text" value="{$row.instrumentsno}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-projectname" class="control-label col-xs-12 col-sm-2">{:__('Projectname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-projectname" class="form-control" name="row[projectname]" type="text" value="{$row.projectname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-data" class="control-label col-xs-12 col-sm-2">{:__('Data')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-data" class="form-control " rows="5" name="row[data]" cols="50">{$row.data}</textarea>
        </div>
    </div><!-- 
    <div class="form-group">
        <label for="c-refreshtime" class="control-label col-xs-12 col-sm-2">{:__('Refreshtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refreshtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refreshtime]" type="text" value="{$row.refreshtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field1" class="control-label col-xs-12 col-sm-2">{:__('Field1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field1" data-rule="required" class="form-control" name="row[field1]" type="text" value="{$row.field1}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field2" class="control-label col-xs-12 col-sm-2">{:__('Field2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field2" data-rule="required" class="form-control" name="row[field2]" type="text" value="{$row.field2}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field3" class="control-label col-xs-12 col-sm-2">{:__('Field3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field3" data-rule="required" class="form-control" name="row[field3]" type="text" value="{$row.field3}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field4" class="control-label col-xs-12 col-sm-2">{:__('Field4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field4" data-rule="required" class="form-control" name="row[field4]" type="text" value="{$row.field4}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field5" class="control-label col-xs-12 col-sm-2">{:__('Field5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field5" data-rule="required" class="form-control" name="row[field5]" type="text" value="{$row.field5}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div> -->
    <div class="form-group">
        <label for="c-state" class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-memo" class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-memo" data-rule="required" class="form-control " rows="5" name="row[memo]" cols="50">{$row.memo}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
